<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .div1 {
            width: 100px;
            height: 100px;
            /* background: red; */
            margin: 50px auto;
            border-radius: 10px 15px 20px 25px;
            /* 左下角 右上角 右下角 左下角 */
            border-radius: 10px 15px 20px 25px;
            /* opacity: 0.2; */
            background: rgba(220,20,60,0.2);
            /* border: 2px solid transparent; */
        }
        span {
            font-size: 30px;
            text-shadow: 5px 5px 5px red;
        }
        .div2 {
            width: 150px;
            height: 150px;
            /* border: 2px solid #ddd; */
            background: #ddd;
            margin: 30px auto;
            /* inset 内阴影 */
            box-shadow: 5px 5px 20px red inset,-5px -5px 10px blue inset ;
            border-radius: 20px ;
        }
    </style>
</head>
<body>
    <div class="div1"> text </div>
    <span>this is my test text</span>
    <div class="div2"></div>
</body>
</html>